Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix message mutation #619

Merged
merged 1 commit into from
Feb 23, 2021
Merged

Fix message mutation #619

merged 1 commit into from
Feb 23, 2021

Conversation

petyosi
Copy link
Contributor

@petyosi petyosi commented Feb 23, 2021

Submit a pull request

CLA

  • I have signed the Stream CLA (required).
  • The code changes follow best practices
  • Code changes are tested (add some information if not applicable)

Description of the pull request

In certain conditions, the channel messages array is reused, causing issues in React component logic (related PR). The proposed change clones the array.

@github-actions
Copy link
Contributor

Size Change: +23 B (0%)

Total Size: 212 kB

Filename Size Change
dist/browser.es.js 45.9 kB +4 B (0%)
dist/browser.full-bundle.min.js 27 kB +5 B (0%)
dist/browser.js 46.4 kB +5 B (0%)
dist/index.es.js 45.9 kB +5 B (0%)
dist/index.js 46.5 kB +4 B (0%)

compressed-size-action

@mahboubii mahboubii merged commit 21f0844 into master Feb 23, 2021
@mahboubii mahboubii deleted the fix-messages-mutation branch February 23, 2021 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants